package com.boot.myJava.servive.impl;

import com.boot.annoation.Di;
import com.boot.myJava.dao.UserDao;
import com.boot.myJava.servive.UserService;
import com.boot.annoation.Bean;

@Bean
public class UserServiceImpl implements UserService {
    @Di
    private UserDao userDao;

    @Override
    public void run() {
        System.out.println("UserServiceImpl.run");
        userDao.run();
    }
}
